package com.rui1024.dao;

import com.rui1024.pojo.Management_user;
import com.rui1024.pojo.User;

import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;

public interface UserDao {
    // 用户登录
    User login(Connection con, User user)throws Exception;
    Management_user loginman(Connection con, Management_user user) throws Exception;
    ArrayList<User> usermanlist(Connection con) throws Exception;
    boolean deleteuser(String name, Connection con) throws Exception;
}
